<?php


Zend_Loader::loadClass("Application_Plotter_Base");
Zend_Loader::loadClass("Application_Table");
Zend_Loader::loadClass('Output_Time');
Zend_Loader::loadClass('Output_ReportVariableData');
Zend_Loader::loadClass('Output_ReportVariableDataDictionary');
Zend_Loader::loadClass('Application_HTMLAccess');
Zend_Loader::loadClass('Application_ReportData');

class InputVerificationAndResultsSummary extends Application_Plotter_Base
{
	private $_tables;
	
	
	
	public function call() {
		
		//accedo al file HTML attraverso la classe HTML Access
	    $html=new Application_HTMLAccess();
	    $report = new Application_ReportData();
	    //eseguo la query alle tabelle componenti il report
	    $report->addTable("General", $html->getQueryResults(1), 2);
	    $report->addTable("Window-Wall Ratio", $html->getQueryResults(2), 6);
	    $report->addTable("Skylight-Roof Ratio", $html->getQueryResults(3), 2);
	    $report->addTable("Zone Summary", $html->getQueryResults(4), 10);
		
		return $report;
}
}
